home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ IIS Messages 1.xpl
< prev
next >
Wrap
Text File
|
1999-09-13
|
1KB
|
44 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="1"
"UIPATH"="Internet\Internet Information Server\Other"
"NAME"="Messages"
"VERSION"="1.15"
"LANGUAGE"="VBScript"
"TEXT 1"="Access Denied"
"DESCRIPTION 1"="The "Access Denied" message is sent to the user if he has tried to get a file and he has no permissions to get it."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
'Declaration of some constants
sPC="HKLM\System\CurrentControlSet\Services\W3SVC\Enum\"
sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
sP2="HKLM\System\CurrentControlSet\Services\InetInfo\Parameters\"
vAD="AccessDeniedMessage" 'string
'Called when the Plugin is started
Sub Plugin_Initialize
if RegPathExists(sPC) then
s=RegReadValue(sp & vAD)
SetUIElement 1,s
else
Disable
end if
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sp & vad,s,1)
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub